
Last chance! 50% off unlimited learning
Sale ends in
Get and set feature-level meta data
# S3 method for Assay
[[(x, i, ..., drop = FALSE)# S4 method for Assay,ANY,ANY,ANY
[[(x, i, j, ...) <- value
# S3 method for Assay
head(x, n = 10L, ...)
# S3 method for Assay
tail(x, n = 10L, ...)
# S4 method for Assay,missing,missing,data.frame
[[(x, i, j, ...) <- value
[[
: The feature-level meta data for i
[[<-
: x
with value
added as i
in feature-level meta data
head
: The first n
rows of feature-level meta data
tail
: the last n
rows of feature-level meta data
An Assay
object
Name of feature-level meta data to fetch or add
Ignored
See drop
Ignored
Feature-level meta data to add
Number of meta data rows to show
v3 Assay object, validity, and interaction methods:
$.Assay()
,
Assay-class
,
Assay-validity
,
CreateAssayObject()
,
[.Assay()
,
dim.Assay()
,
dimnames.Assay()
,
merge.Assay()
,
split.Assay()
,
subset.Assay()
rna <- pbmc_small[["RNA"]]
# Pull the entire feature-level meta data data frame
head(rna[[]])
# Pull a specific column of feature-level meta data
head(rna[["vst.mean"]])
head(rna[["vst.mean", drop = TRUE]])
# `head` and `tail` can be used to quickly view feature-level meta data
head(rna)
tail(rna)
Run the code above in your browser using DataLab